package com.zhengxin.one.entity.excel;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
@Data
@AllArgsConstructor
@NoArgsConstructor
@ExcelTarget("record")
public class RecordExportExcel {
    @Excel(name = "姓名")
    private String name;
    @Excel(name = "身份证")
    private String id_card;
    @Excel(name = "国籍")
    private String nationality;
    @Excel(name = "性别",replace = { "男_1", "女_2" })
    private int sex;
    @Excel(name = "户口性质")
    private String residence_type;
    @Excel(name = "业务类型",replace = { "社保_1", "公积金_2", "商保_3" })
    private int service_type;
    @Excel(name = "服务类型",replace = { "增员_1", "减员_2", "调基_3" })
    private int handle_type;
    @Excel(name = "服务状态",replace = { "申请中_1", "已撤回_2", "申请成功_3", "申请失败_4" })
    private int status;
    @Excel(name = "时间",databaseFormat = "yyyyMMddHHmmss", format = "yyyy-MM-dd")
    private Date create_time;
}
